import Routers from "./router/index";
import { useRoutes } from "react-router-dom";
import RouterGuard from "./hooks/useRouterHandel";


const App = () => {
  return useRoutes(Routers);
};

const WrappedApp = RouterGuard(App);
export default WrappedApp;
